<div class="header">
    <div class="top" style="display: none">
        <a class="login" href="#">登录</a><a class="reg" href="#">注册</a>
    </div>
    <div class="bar">
        <ul class="nav">
            <li>
                <a href="{:Url('/doc/index/index')}" class="{$func=='doc'?'active':''}" >开发文档</a>
            </li>
            <li>
                <a href="{:Url('index')}" class="{$func=='index'?'active':''}">首　页</a>
            </li>
            <li>
                <a href="{:Url('about')}" class="{$func=='about'?'active':''}">为什么选择我们</a>
            </li>
            <li>
                <a href="{:Url('products')}" class="{$func=='products'?'active':''}">产品中心</a>
            </li>
            <li>
                <a href="{:Url('customers')}" class="{$func=='customers'?'active':''}">合作商家</a>
            </li>
            <li>
                <a href="{:Url('faq')}" class="{$func=='faq'?'active':''}">FAQ</a>
            </li>
        </ul>
    </div>
</div>